﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AnimationEditor
{
	public class Rectangle
	{
		public Rectangle()
		{
			x = 0;
			y = 0;
			width = 0;
			height = 0;
		}

		public Rectangle(int x, int y, int width, int height)
		{
			this.x = x;
			this.y = y;
			this.height = height;
			this.width = width;
		}

		int x;

		public int X
		{
			get { return x; }
			set { x = value; }
		}

		int y;

		public int Y
		{
			get { return y; }
			set { y = value; }
		}

		int width;

		public int Width
		{
			get { return width; }
			set { width = value; }
		}

		int height;

		public int Height
		{
			get { return height; }
			set { height = value; }
		}

		public override string ToString()
		{
			return "X = " + X + "  Y = " + Y + "  Width = " + Width + "  Height = " + Height;
		}
	}
}
